import request from '../../utils/request'
import axios from 'axios'

export const getorderDataList = (key) => {
  return request({
    url: '/getPcOrder',
    method: 'get',
    params: key
  })
}

export const postDataList = (key) => {
  return axios({
    url: 'http://111.231.22.97:9000/exportPC',
    method: 'post',
    data: key,
    responseType: 'blob'
  })
}

export const getPcWordExport = (key) => {
  return request({
    url: '/getPcWordExport',
    method: 'GET',
    params: key
  })
}

